package com.ymttest.database.mapping;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.ymttest.database.model.LiveRoom;

public interface BetterMapper {
    @Select("select ip,name from VmInfo where id in (select vminfoid from ApplicationEnv where applicationid in(select id from Application where domain=#{domain}))")
    List<Map> selectApplicationIpByDomain(@Param("domain")String domain);
}